package com.jcli.novel_t.swing;

public class IsDemo {
    public static void main(String[] args) {
        String arr = "12c12 31123123" +
                "asa" +
                "asa";
        // if (arr.matches("\"^.+ .*$\"")){
        if (arr.matches("^.+ .*$")){
            System.out.println("ok");
        }else {
            System.out.println("ng");
        }
    }
}
